/** demo.js **/
layui.define(function(exports){
    //do something
    var obj = {
        method1: function (a){
            alert(a)
        }
    };
    
    exports('test42', obj);
});